package com.bestsoft.flow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;

/**
 * 图片分类管理对象 tbl_pic_category
 * 
 * @author ruoyi
 * @date 2023-08-04
 */
public class PicUpload extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 模块菜单id */
    @Excel(name = "模块菜单id")
    private String moduleId;

    /** 图片分类id */
    @Excel(name = "图片分类id")
    private String categoryId;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String picUrl;

    /** 关联id（商品，员工，供应商等等） */
    @Excel(name = "关联id", readConverterExp = "商品，员工，供应商等等")
    private String asId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setAsId(String asId) {
        this.asId = asId;
    }

    public String getAsId() {
        return asId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("moduleId", getModuleId())
                .append("categoryId", getCategoryId())
                .append("picUrl", getPicUrl())
                .append("asId", getAsId())
                .toString();
    }
}
